package com.wanmei.mapper;

import com.wanmei.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {
    List<String> getPermissionsNameByRoleId(int roleId);

    int insert(Permission record);

    int insertSelective(Permission record);

    int updateByExampleSelective(@Param("record") Permission record);

    int updateByExample(@Param("record") Permission record);
}